package com.lucy.wx.miniapp.service;

import com.lucy.common.service.BaseService;
import com.lucy.common.service.UnwrapService;
import com.lucy.wx.miniapp.entity.MiniAppGrant;

/**
 * @author kindear
 * 微信小程序授权服务
 */
public interface MiniAppGrantService extends BaseService<MiniAppGrant,String>, UnwrapService<MiniAppGrant,String> {
    /**
     * 根据应用ID 获取授权应用信息
     * @param appId 应用ID
     * @return 应用信息
     */
    MiniAppGrant getApp(String appId);
}
